<!DOCTYPE html>
<html>

<head>
    <meta charset="UTF-8">
    <meta http-equiv="X-UA-Compatible" content="IE=9; IE=8; IE=7; IE=EDGE">
    <meta http-equiv="X-UA-Compatible" content="IE=EmulateIE7"/>
    <title>商家入驻申请</title>
    <link rel="stylesheet" type="text/css" href="css/webbase.css"/>
    <link rel="stylesheet" type="text/css" href="css/pages-register.css"/>
</head>
<script type="text/javascript">
    function toregister() {
        $.ajax({
            url: "/toregister",
            data: $("#sellerinsert").serialize(),
            type: "post",
            dataType: "json",
            async: true,
            success: function (result) {
                if (result.code == 10000) {
                    alert("注册完成");
                    location.href = "/shoplogin"
                }
            },
            error: function (result) {
                alert("系统错误,请稍后再试");
            }
        })
    }
</script>
<body>
<div class="register py-container ">
    <!--head-->
    <div class="logoArea">
        <a href="" class="logo"></a>
    </div>
    <!--register-->
    <div class="registerArea">
        <h3>商家入驻申请<span class="go">我有账号，去<a href="/shoplogin" target="_blank">登陆</a></span></h3>
        <div class="info">
            <form class="sui-form form-horizontal" id="sellerinsert">
                <div class="control-group">
                    <label class="control-label">登陆名（不可修改）：</label>
                    <div class="controls">
                        <input type="text" placeholder="登陆名" class="input-xfat input-xlarge" name="sellerId">
                    </div>
                </div>

                <div class="control-group">
                    <label class="control-label">登陆密码：</label>
                    <div class="controls">
                        <input type="password" placeholder="登陆密码" class="input-xfat input-xlarge" name="password">
                    </div>
                </div>

                <div class="control-group">
                    <label class="control-label">店铺名称：</label>
                    <div class="controls">
                        <input type="text" placeholder="店铺名称" class="input-xfat input-xlarge" name="nickName">
                    </div>
                </div>

                <div class="control-group">
                    <label class="control-label">公司名称：</label>
                    <div class="controls">
                        <input type="text" placeholder="公司名称" class="input-xfat input-xlarge" name="name">
                    </div>
                </div>

                <div class="control-group">
                    <label class="control-label">公司电话：</label>
                    <div class="controls">
                        <input type="text" placeholder="公司电话" class="input-xfat input-xlarge" name="telephone">
                    </div>
                </div>

                <div class="control-group">
                    <label class="control-label">公司详细地址：</label>
                    <div class="controls">
                        <input type="text" placeholder="公司详细地址" class="input-xfat input-xlarge" name="addressDetail">
                    </div>
                </div>

                <div class="control-group">
                    <label class="control-label">联系人姓名：</label>
                    <div class="controls">
                        <input type="text" placeholder="联系人姓名" class="input-xfat input-xlarge" name="linkmanName">
                    </div>
                </div>

                <div class="control-group">
                    <label class="control-label">联系人QQ：</label>
                    <div class="controls">
                        <input type="text" placeholder="联系人QQ" class="input-xfat input-xlarge" name="linkmanQq">
                    </div>
                </div>

                <div class="control-group">
                    <label class="control-label">联系人手机：</label>
                    <div class="controls">
                        <input type="text" placeholder="联系人手机" class="input-xfat input-xlarge" name="linkmanMobile">
                    </div>
                </div>

                <div class="control-group">
                    <label class="control-label">联系人EMAIL：</label>
                    <div class="controls">
                        <input type="text" placeholder="联系人EMAIL" class="input-xfat input-xlarge" name="linkmanEmail">
                    </div>
                </div>

                <div class="control-group">
                    <label class="control-label">营业执照号：</label>
                    <div class="controls">
                        <input type="text" placeholder="营业执照号" class="input-xfat input-xlarge" name="licenseNumber">
                    </div>
                </div>

                <div class="control-group">
                    <label class="control-label">税务登记证号：</label>
                    <div class="controls">
                        <input type="text" placeholder="税务登记证号" class="input-xfat input-xlarge" name="taxNumber">
                    </div>
                </div>

                <div class="control-group">
                    <label class="control-label">组织机构代码证：</label>
                    <div class="controls">
                        <input type="text" placeholder="组织机构代码证" class="input-xfat input-xlarge" name="orgNumber">
                    </div>
                </div>

                <div class="control-group">
                    <label class="control-label">法定代表人：</label>
                    <div class="controls">
                        <input type="text" placeholder="法定代表人" class="input-xfat input-xlarge" name="legalPerson">
                    </div>
                </div>

                <div class="control-group">
                    <label class="control-label">法定代表人身份证号：</label>
                    <div class="controls">
                        <input type="text" placeholder="法定代表人身份证号" class="input-xfat input-xlarge"
                               name="legalPersonCardId">
                    </div>
                </div>

                <div class="control-group">
                    <label class="control-label">开户行名称：</label>
                    <div class="controls">
                        <input type="text" placeholder="开户行名称" class="input-xfat input-xlarge" name="bankUser">
                    </div>
                </div>

                <div class="control-group">
                    <label class="control-label">开户行支行：</label>
                    <div class="controls">
                        <input type="text" placeholder="开户行支行" class="input-xfat input-xlarge">
                    </div>
                </div>

                <div class="control-group">
                    <label class="control-label">银行账号：</label>
                    <div class="controls">
                        <input type="text" placeholder="银行账号" class="input-xfat input-xlarge" name="bankName">
                    </div>
                </div>

                <div class="control-group">
                    <label class="control-label"></label>
                    <div class="controls">
                        <input name="m1" type="checkbox" value="2" checked=""><span>同意协议并注册<a href="sampling.html">《东东商城商家入驻协议》</a></span>
                    </div>
                </div>
                <div class="control-group">
                    <label class="control-label"></label>
                    <div class="controls btn-reg">
                        <a href="javascript:void(0)" class="sui-btn btn-block btn-xlarge btn-danger"
                           onclick="toregister()">申请入驻</a>
                    </div>
                </div>
            </form>
            <div class="clearfix"></div>
        </div>
    </div>
    <!--foot-->
    <div class="py-container copyright">
        <ul>
            <li>关于我们</li>
            <li>联系我们</li>
            <li>联系客服</li>
            <li>商家入驻</li>
            <li>营销中心</li>
            <li>手机东东商城</li>
            <li>销售联盟</li>
            <li>东东商城社区</li>
        </ul>
        <div class="address">地址：北京市昌平区沙阳路18号 邮编：100000 电话：400-0123-302</div>
        <div class="beian">京ICP备08006666号京公网安备11010888888
        </div>
    </div>
</div>


<script type="text/javascript" src="js/plugins/jquery/jquery.min.js"></script>
<script type="text/javascript" src="js/plugins/jquery.easing/jquery.easing.min.js"></script>
<script type="text/javascript" src="js/plugins/sui/sui.min.js"></script>
<script type="text/javascript" src="js/plugins/jquery-placeholder/jquery.placeholder.min.js"></script>
<script type="text/javascript" src="js/pages/register.js"></script>
</body>
</html>